import {createRouter, createWebHashHistory} from 'vue-router'
import Detail from "../components/Detail.vue";
import App from "../App.vue";

const routes = [
    {
        path: '/',
        component: App,
    },
    {
        path: '/detail',
        component: Detail
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router